home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1995-04-11 | 9.3 KB | [TEXT/MMCC] |
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
Confidence | Program | Detection | Match Type | Support
|
---|
66%
| dexvert
| Compact Compressed (Unix) (archive/compact)
| ext
| Supported |
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| MacBinary II, Tue Apr 11 23:05:13 1995, modified Tue Apr 11 23:05:13 1995, creator 'MMCC', type ASCII, 8473 bytes "NoiseVBL.c" , at 0x2199 756 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
74%
| TrID
| Macintosh plain text (MacBinary)
| default
| |
25%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| siegfried
| fmt/1762 MacBinary (II)
| default
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [TEXT] |
macFileCreator | [MMCC] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0a 4e 6f 69 73 65 56 | 42 4c 2e 63 00 00 00 00 |..NoiseV|BL.c....|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4d 4d 43 | 43 00 00 00 00 00 00 00 |.TEXTMMC|C.......|
|00000050| 00 00 00 00 00 21 19 00 | 00 02 f4 ab b0 f3 e9 ab |.....!..|........|
|00000060| b0 f3 e9 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 a1 56 00 00 |........|.....V..|
|00000080| 2f 2a 0d 4e 6f 69 73 65 | 56 42 4c 2e 63 0d 0d 54 |/*.Noise|VBL.c..T|
|00000090| 68 65 72 65 20 61 72 65 | 20 74 77 6f 20 77 61 79 |here are| two way|
|000000a0| 73 20 74 6f 20 73 79 6e | 63 68 72 6f 6e 69 7a 65 |s to syn|chronize|
|000000b0| 20 79 6f 75 72 20 70 72 | 6f 67 72 61 6d 20 74 6f | your pr|ogram to|
|000000c0| 20 61 20 76 69 64 65 6f | 20 64 69 73 70 6c 61 79 | a video| display|
|000000d0| 2e 20 41 70 70 6c 65 0d | 72 65 63 6f 6d 6d 65 6e |. Apple.|recommen|
|000000e0| 64 73 20 75 73 69 6e 67 | 20 74 68 65 20 76 65 72 |ds using| the ver|
|000000f0| 74 69 63 61 6c 20 62 6c | 61 6e 6b 69 6e 67 20 6c |tical bl|anking l|
|00000100| 65 76 65 6c 20 69 6e 74 | 65 72 72 75 70 74 20 28 |evel int|errupt (|
|00000110| 56 42 4c 29 2e 20 54 68 | 61 74 20 61 70 70 72 6f |VBL). Th|at appro|
|00000120| 61 63 68 20 69 73 0d 69 | 6c 6c 75 73 74 72 61 74 |ach is.i|llustrat|
|00000130| 65 64 20 68 65 72 65 2e | 20 54 68 65 20 6f 74 68 |ed here.| The oth|
|00000140| 65 72 20 61 70 70 72 6f | 61 63 68 2c 20 77 68 69 |er appro|ach, whi|
|00000150| 63 68 20 49 20 6e 6f 72 | 6d 61 6c 6c 79 20 70 72 |ch I nor|mally pr|
|00000160| 65 66 65 72 2c 20 69 73 | 20 74 6f 20 75 73 65 20 |efer, is| to use |
|00000170| 61 20 73 69 64 65 0d 65 | 66 66 65 63 74 20 6f 66 |a side.e|ffect of|
|00000180| 20 6c 6f 61 64 69 6e 67 | 20 74 68 65 20 76 69 64 | loading| the vid|
|00000190| 65 6f 20 63 61 72 64 73 | 20 63 6c 75 74 3a 20 6d |eo cards| clut: m|
|000001a0| 6f 73 74 20 76 69 64 65 | 6f 20 64 72 69 76 65 72 |ost vide|o driver|
|000001b0| 73 20 64 6f 6e 27 74 20 | 72 65 74 75 72 6e 20 75 |s don't |return u|
|000001c0| 6e 74 69 6c 0d 74 68 65 | 20 76 65 72 74 69 63 61 |ntil.the| vertica|
|000001d0| 6c 20 62 6c 61 6e 6b 69 | 6e 67 20 69 6e 74 65 72 |l blanki|ng inter|
|000001e0| 76 61 6c 2e 20 54 68 65 | 20 69 6e 74 65 72 72 75 |val. The| interru|
|000001f0| 70 74 20 61 70 70 72 6f | 61 63 68 20 69 73 20 6d |pt appro|ach is m|
|00000200| 6f 72 65 20 6f 72 20 6c | 65 73 73 0d 67 75 61 72 |ore or l|ess.guar|
|00000210| 61 6e 74 65 65 64 20 74 | 6f 20 77 6f 72 6b 20 6f |anteed t|o work o|
|00000220| 6e 20 61 6c 6c 20 76 69 | 64 65 6f 20 63 61 72 64 |n all vi|deo card|
|00000230| 73 2c 20 73 69 6e 63 65 | 20 41 70 70 6c 65 20 6d |s, since| Apple m|
|00000240| 6f 72 65 20 6f 72 20 6c | 65 73 73 20 72 65 71 75 |ore or l|ess requ|
|00000250| 69 72 65 73 20 74 68 61 | 74 20 69 74 0d 62 65 20 |ires tha|t it.be |
|00000260| 73 75 70 70 6f 72 74 65 | 64 20 62 79 20 61 6c 6c |supporte|d by all|
|00000270| 20 76 69 64 65 6f 20 64 | 72 69 76 65 72 73 2e 20 | video d|rivers. |
|00000280| 49 74 73 20 6f 6e 6c 79 | 20 64 69 73 61 64 76 61 |Its only| disadva|
|00000290| 6e 74 61 67 65 20 69 73 | 20 74 68 61 74 20 0d 69 |ntage is| that .i|
|000002a0| 6e 74 65 72 72 75 70 74 | 73 20 6d 75 73 74 20 62 |nterrupt|s must b|
|000002b0| 65 20 65 6e 61 62 6c 65 | 64 2e 20 49 20 68 61 76 |e enable|d. I hav|
|000002c0| 65 20 74 68 65 20 69 6d | 70 72 65 73 73 69 6f 6e |e the im|pression|
|000002d0| 2d 2d 74 68 6f 75 67 68 | 20 49 20 68 61 76 65 6e |--though| I haven|
|000002e0| 27 74 20 63 6f 6c 6c 65 | 63 74 65 64 0d 68 61 72 |'t colle|cted.har|
|000002f0| 64 20 64 61 74 61 2d 2d | 74 68 61 74 20 69 6e 74 |d data--|that int|
|00000300| 65 72 72 75 70 74 73 20 | 73 74 65 61 6c 20 61 20 |errupts |steal a |
|00000310| 6c 6f 74 20 6f 66 20 74 | 69 6d 65 2c 20 64 65 70 |lot of t|ime, dep|
|00000320| 65 6e 64 69 6e 67 20 6f | 6e 20 68 6f 77 20 62 75 |ending o|n how bu|
|00000330| 73 79 20 41 70 70 6c 65 | 54 61 6c 6b 2c 0d 74 68 |sy Apple|Talk,.th|
|00000340| 65 20 64 69 73 6b 2c 20 | 53 43 53 49 2c 20 6b 65 |e disk, |SCSI, ke|
|00000350| 79 62 6f 61 72 64 2c 20 | 6d 6f 75 73 65 2c 20 61 |yboard, |mouse, a|
|00000360| 6e 64 20 65 76 65 6e 20 | 6d 69 73 63 65 6c 6c 61 |nd even |miscella|
|00000370| 6e 65 6f 75 73 20 49 4e | 49 54 73 20 74 68 61 74 |neous IN|ITs that|
|00000380| 20 61 72 65 20 64 72 69 | 76 65 6e 20 62 79 0d 56 | are dri|ven by.V|
|00000390| 42 4c 20 69 6e 74 65 72 | 72 75 70 74 73 2e 20 53 |BL inter|rupts. S|
|000003a0| 6f 20 77 68 65 6e 20 49 | 20 72 65 61 6c 6c 79 20 |o when I| really |
|000003b0| 77 61 6e 74 20 74 6f 20 | 63 72 61 6e 6b 2c 20 74 |want to |crank, t|
|000003c0| 6f 20 64 69 73 70 6c 61 | 79 20 6d 6f 76 69 65 73 |o displa|y movies|
|000003d0| 2c 20 49 20 70 72 65 66 | 65 72 20 74 6f 0d 75 73 |, I pref|er to.us|
|000003e0| 65 20 53 65 74 50 72 69 | 6f 72 69 74 79 28 37 29 |e SetPri|ority(7)|
|000003f0| 20 74 6f 20 74 65 6d 70 | 6f 72 61 72 69 6c 79 20 | to temp|orarily |
|00000400| 73 75 73 70 65 6e 64 20 | 61 6c 6c 20 69 6e 74 65 |suspend |all inte|
|00000410| 72 72 75 70 74 73 2e 20 | 49 6e 20 74 68 61 74 20 |rrupts. |In that |
|00000420| 63 61 73 65 20 74 68 65 | 0d 76 69 64 65 6f 2d 64 |case the|.video-d|
|00000430| 72 69 76 65 72 20 73 69 | 64 65 20 65 66 66 65 63 |river si|de effec|
|00000440| 74 20 61 70 70 72 6f 61 | 63 68 20 69 73 20 79 6f |t approa|ch is yo|
|00000450| 75 72 20 6f 6e 6c 79 20 | 63 68 6f 69 63 65 2e 20 |ur only |choice. |
|00000460| 48 6f 77 65 76 65 72 2c | 20 62 65 20 77 61 72 6e |However,| be warn|
|00000470| 65 64 20 74 68 61 74 0d | 73 6f 6d 65 20 76 69 64 |ed that.|some vid|
|00000480| 65 6f 20 64 72 69 76 65 | 72 73 20 64 6f 6e 27 74 |eo drive|rs don't|
|00000490| 20 77 61 69 74 2c 20 61 | 6e 64 20 6f 74 68 65 72 | wait, a|nd other|
|000004a0| 73 20 74 61 6b 65 20 6d | 6f 72 65 20 74 68 61 6e |s take m|ore than|
|000004b0| 20 61 20 66 72 61 6d 65 | 20 74 6f 20 6c 6f 61 64 | a frame| to load|
|000004c0| 20 74 68 65 0d 63 6c 75 | 74 2c 20 73 6f 20 64 6f | the.clu|t, so do|
|000004d0| 20 73 6f 6d 65 20 63 61 | 72 65 66 75 6c 20 74 69 | some ca|reful ti|
|000004e0| 6d 69 6e 67 20 62 65 66 | 6f 72 65 20 79 6f 75 20 |ming bef|ore you |
|000004f0| 72 65 6c 79 20 6f 6e 20 | 69 74 2c 20 69 2e 65 2e |rely on |it, i.e.|
|00000500| 20 72 75 6e 20 54 69 6d | 65 56 69 64 65 6f 2e 0d | run Tim|eVideo..|
|00000510| 0d 54 68 69 73 20 70 72 | 6f 67 72 61 6d 20 73 68 |.This pr|ogram sh|
|00000520| 6f 77 73 20 61 20 6e 6f | 69 73 65 20 6d 6f 76 69 |ows a no|ise movi|
|00000530| 65 2c 20 61 20 64 79 6e | 61 6d 69 63 20 72 61 6e |e, a dyn|amic ran|
|00000540| 64 6f 6d 20 63 68 65 63 | 6b 65 72 62 6f 61 72 64 |dom chec|kerboard|
|00000550| 2c 20 61 74 20 36 36 2e | 37 20 48 7a 21 20 0d 45 |, at 66.|7 Hz! .E|
|00000560| 61 63 68 20 66 72 61 6d | 65 20 69 73 20 64 69 73 |ach fram|e is dis|
|00000570| 70 6c 61 79 65 64 20 62 | 79 20 63 61 6c 6c 69 6e |played b|y callin|
|00000580| 67 20 43 6f 70 79 57 69 | 6e 64 6f 77 73 2e 63 2e |g CopyWi|ndows.c.|
|00000590| 20 41 66 74 65 72 20 73 | 68 6f 77 69 6e 67 20 65 | After s|howing e|
|000005a0| 61 63 68 20 66 72 61 6d | 65 20 6f 6e 63 65 0d 4e |ach fram|e once.N|
|000005b0| 6f 69 73 65 56 42 4c 20 | 63 79 63 6c 65 73 20 74 |oiseVBL |cycles t|
|000005c0| 68 72 6f 75 67 68 20 74 | 68 65 6d 20 61 67 61 69 |hrough t|hem agai|
|000005d0| 6e 2e 20 54 68 75 73 20 | 74 6f 20 67 65 74 20 61 |n. Thus |to get a|
|000005e0| 20 74 72 75 65 20 69 6d | 70 72 65 73 73 69 6f 6e | true im|pression|
|000005f0| 20 6f 66 20 77 68 69 74 | 65 20 6e 6f 69 73 65 20 | of whit|e noise |
|00000600| 79 6f 75 0d 6e 65 65 64 | 20 74 6f 20 63 6f 6d 70 |you.need| to comp|
|00000610| 75 74 65 20 6c 6f 74 73 | 20 6f 66 20 6e 6f 69 73 |ute lots| of nois|
|00000620| 65 20 66 72 61 6d 65 73 | 2c 20 65 2e 67 2e 20 31 |e frames|, e.g. 1|
|00000630| 30 30 2e 20 54 68 69 73 | 20 6d 61 79 20 72 65 71 |00. This| may req|
|00000640| 75 69 72 65 20 73 65 76 | 65 72 61 6c 0d 6d 65 67 |uire sev|eral.meg|
|00000650| 61 62 79 74 65 73 2c 20 | 64 65 70 65 6e 64 69 6e |abytes, |dependin|
|00000660| 67 20 77 68 61 74 20 79 | 6f 75 72 20 73 63 72 65 |g what y|our scre|
|00000670| 65 6e 27 73 20 70 69 78 | 65 6c 20 64 65 70 74 68 |en's pix|el depth|
|00000680| 20 69 73 20 73 65 74 20 | 74 6f 2e 0d 0d 48 49 53 | is set |to...HIS|
|00000690| 54 4f 52 59 3a 0d 31 31 | 2f 32 33 2f 38 38 20 44 |TORY:.11|/23/88 D|
|000006a0| 65 6e 69 73 20 50 65 6c | 6c 69 20 77 72 6f 74 65 |enis Pel|li wrote|
|000006b0| 20 69 74 2e 0d 0d 34 2f | 32 30 2f 39 31 20 49 20 | it...4/|20/91 I |
|000006c0| 75 70 64 61 74 65 64 20 | 74 68 69 73 2e 20 49 74 |updated |this. It|
|000006d0| 20 6e 6f 77 20 68 61 73 | 20 65 73 73 65 6e 74 69 | now has| essenti|
|000006e0| 61 6c 6c 79 20 6e 6f 20 | 68 61 72 64 77 61 72 65 |ally no |hardware|
|000006f0| 20 64 65 70 65 6e 64 65 | 6e 63 69 65 73 2e 20 49 | depende|ncies. I|
|00000700| 74 20 64 6f 65 73 0d 72 | 65 71 75 69 72 65 20 74 |t does.r|equire t|
|00000710| 68 61 74 20 74 68 65 20 | 76 69 64 65 6f 20 62 65 |hat the |video be|
|00000720| 20 69 6e 20 61 20 73 6c | 6f 74 2c 20 73 69 6e 63 | in a sl|ot, sinc|
|00000730| 65 20 69 74 20 75 73 65 | 73 20 73 6c 6f 74 20 69 |e it use|s slot i|
|00000740| 6e 74 65 72 72 75 70 74 | 73 2e 20 41 20 62 61 73 |nterrupt|s. A bas|
|00000750| 69 63 0d 70 72 6f 62 6c | 65 6d 20 77 69 74 68 20 |ic.probl|em with |
|00000760| 74 68 65 20 73 63 68 65 | 6d 65 20 69 73 20 74 68 |the sche|me is th|
|00000770| 61 74 20 69 6e 74 65 72 | 72 75 70 74 73 20 73 65 |at inter|rupts se|
|00000780| 65 6d 20 74 6f 20 62 65 | 20 73 68 75 74 20 6f 75 |em to be| shut ou|
|00000790| 74 20 77 68 69 6c 65 20 | 74 68 65 0d 69 6e 74 65 |t while |the.inte|
|000007a0| 72 72 75 70 74 20 73 65 | 72 76 69 63 65 20 72 6f |rrupt se|rvice ro|
|000007b0| 75 74 69 6e 65 73 20 61 | 72 65 20 72 75 6e 6e 69 |utines a|re runni|
|000007c0| 6e 67 2e 20 41 73 20 61 | 20 72 65 73 75 6c 74 20 |ng. As a| result |
|000007d0| 74 68 65 20 74 69 6d 69 | 6e 67 20 69 6e 66 6f 72 |the timi|ng infor|
|000007e0| 6d 61 74 69 6f 6e 20 69 | 73 0d 69 6e 61 63 63 75 |mation i|s.inaccu|
|000007f0| 72 61 74 65 20 73 69 6e | 63 65 20 6d 61 6e 79 20 |rate sin|ce many |
|00000800| 31 20 6d 73 20 69 6e 74 | 65 72 72 75 70 74 73 20 |1 ms int|errupts |
|00000810| 61 72 65 20 6c 6f 73 74 | 20 64 75 72 69 6e 67 20 |are lost| during |
|00000820| 74 68 65 20 63 61 6c 6c | 20 74 6f 0d 43 6f 70 79 |the call| to.Copy|
|00000830| 42 69 74 73 51 75 69 63 | 6b 6c 79 28 29 2e 20 49 |BitsQuic|kly(). I|
|00000840| 20 74 68 69 6e 6b 20 74 | 68 65 20 6f 6e 6c 79 20 | think t|he only |
|00000850| 73 6f 6c 75 74 69 6f 6e | 20 74 6f 20 74 68 69 73 |solution| to this|
|00000860| 20 77 6f 75 6c 64 20 62 | 65 20 74 6f 20 70 75 74 | would b|e to put|
|00000870| 20 74 68 65 20 74 69 6d | 65 0d 63 6f 6e 73 75 6d | the tim|e.consum|
|00000880| 69 6e 67 20 63 61 6c 6c | 20 74 6f 20 43 6f 70 79 |ing call| to Copy|
|00000890| 42 69 74 73 51 75 69 63 | 6b 6c 79 20 62 61 63 6b |BitsQuic|kly back|
|000008a0| 20 69 6e 20 74 68 65 20 | 6d 61 69 6e 20 70 72 6f | in the |main pro|
|000008b0| 67 72 61 6d 2c 20 77 61 | 69 74 69 6e 67 20 66 6f |gram, wa|iting fo|
|000008c0| 72 20 74 68 65 0d 69 6e | 74 65 72 72 75 70 74 20 |r the.in|terrupt |
|000008d0| 73 65 72 76 69 63 65 20 | 72 6f 75 74 69 6e 65 20 |service |routine |
|000008e0| 74 6f 20 67 69 76 65 20 | 69 74 20 70 65 72 6d 69 |to give |it permi|
|000008f0| 73 73 69 6f 6e 20 74 6f | 20 73 74 61 72 74 20 65 |ssion to| start e|
|00000900| 61 63 68 20 6e 65 77 20 | 66 72 61 6d 65 2e 0d 0d |ach new |frame...|
|00000910| 34 2f 31 35 2f 39 32 20 | 52 65 6d 6f 76 65 64 20 |4/15/92 |Removed |
|00000920| 61 6c 6c 20 62 75 67 73 | 20 61 6e 64 20 75 70 64 |all bugs| and upd|
|00000930| 61 74 65 64 20 74 6f 20 | 77 6f 72 6b 20 77 69 74 |ated to |work wit|
|00000940| 68 20 54 48 49 4e 4b 20 | 43 20 35 2e 20 4e 6f 77 |h THINK |C 5. Now|
|00000950| 20 70 72 6f 70 65 72 6c | 79 20 73 65 74 20 41 35 | properl|y set A5|
|00000960| 0d 69 6e 20 74 68 65 20 | 69 6e 74 65 72 72 75 70 |.in the |interrup|
|00000970| 74 20 73 65 72 76 69 63 | 65 20 72 6f 75 74 69 6e |t servic|e routin|
|00000980| 65 73 2c 20 75 73 69 6e | 67 20 74 68 65 20 6d 65 |es, usin|g the me|
|00000990| 74 68 6f 64 20 73 75 67 | 67 65 73 74 65 64 20 69 |thod sug|gested i|
|000009a0| 6e 20 54 65 63 68 20 4e | 6f 74 65 20 31 38 30 2e |n Tech N|ote 180.|
|000009b0| 0d 49 20 72 65 6d 6f 76 | 65 64 20 74 68 65 20 6f |.I remov|ed the o|
|000009c0| 6c 64 20 61 74 74 65 6d | 70 74 20 74 6f 20 64 69 |ld attem|pt to di|
|000009d0| 73 61 62 6c 65 20 41 70 | 70 6c 65 54 61 6c 6b 2c |sable Ap|pleTalk,|
|000009e0| 20 77 68 69 63 68 20 6e | 6f 77 20 73 65 65 6d 73 | which n|ow seems|
|000009f0| 20 74 6f 20 68 61 6e 67 | 20 75 70 20 77 68 65 6e | to hang| up when|
|00000a00| 0d 69 74 20 61 74 74 65 | 6d 70 74 73 20 74 6f 20 |.it atte|mpts to |
|00000a10| 72 65 65 6e 61 62 6c 65 | 20 41 70 70 6c 65 54 61 |reenable| AppleTa|
|00000a20| 6c 6b 2e 20 49 20 61 6c | 73 6f 20 72 65 6d 6f 76 |lk. I al|so remov|
|00000a30| 65 64 20 74 68 65 20 63 | 6c 75 74 20 6d 61 6e 69 |ed the c|lut mani|
|00000a40| 70 75 6c 61 74 69 6f 6e | 73 2e 0d 0d 34 2f 31 36 |pulation|s...4/16|
|00000a50| 2f 39 32 09 50 75 74 20 | 74 68 65 20 6e 6f 69 73 |/92.Put |the nois|
|00000a60| 65 20 69 6e 20 69 74 73 | 20 6f 77 6e 20 77 69 6e |e in its| own win|
|00000a70| 64 6f 77 2e 20 52 75 6e | 20 65 73 73 65 6e 74 69 |dow. Run| essenti|
|00000a80| 61 6c 6c 79 20 63 6f 6e | 74 69 6e 75 6f 75 73 6c |ally con|tinuousl|
|00000a90| 79 20 75 6e 74 69 6c 0d | 75 73 65 72 20 71 75 69 |y until.|user qui|
|00000aa0| 74 73 2e 0d 0d 38 2f 31 | 39 2f 39 32 20 52 65 70 |ts...8/1|9/92 Rep|
|00000ab0| 6c 61 63 65 64 20 6f 62 | 73 6f 6c 65 74 65 20 54 |laced ob|solete T|
|00000ac0| 69 6d 65 49 74 2e 63 20 | 62 79 20 6e 65 77 20 54 |imeIt.c |by new T|
|00000ad0| 69 6d 65 72 2e 63 2e 20 | 54 69 6d 69 6e 67 20 73 |imer.c. |Timing s|
|00000ae0| 65 65 6d 73 20 74 6f 20 | 62 65 20 66 69 6e 65 20 |eems to |be fine |
|00000af0| 6e 6f 77 2e 0d 0d 38 2f | 32 32 2f 39 32 20 64 67 |now...8/|22/92 dg|
|00000b00| 70 20 4d 6f 76 65 64 20 | 6d 6f 73 74 20 6f 66 20 |p Moved |most of |
|00000b10| 74 68 65 20 69 6e 74 65 | 72 72 75 70 74 20 73 65 |the inte|rrupt se|
|00000b20| 72 76 69 63 65 20 72 6f | 75 74 69 6e 65 20 63 6f |rvice ro|utine co|
|00000b30| 64 65 20 74 6f 20 0d 56 | 42 4c 49 6e 74 65 72 72 |de to .V|BLInterr|
|00000b40| 75 70 74 53 65 72 76 69 | 63 65 52 6f 75 74 69 6e |uptServi|ceRoutin|
|00000b50| 65 2e 63 2e 20 4a 75 73 | 74 20 66 6f 72 20 66 75 |e.c. Jus|t for fu|
|00000b60| 6e 2c 20 49 20 6d 61 64 | 65 20 74 68 65 20 70 72 |n, I mad|e the pr|
|00000b70| 6f 67 72 61 6d 20 75 73 | 65 20 61 6e 20 61 6c 74 |ogram us|e an alt|
|00000b80| 65 72 6e 61 74 65 20 6d | 6f 6e 69 74 6f 72 2c 0d |ernate m|onitor,.|
|00000b90| 69 66 20 61 76 61 69 6c | 61 62 6c 65 2e 20 46 69 |if avail|able. Fi|
|00000ba0| 78 65 64 20 61 20 73 6d | 61 6c 6c 20 62 75 67 20 |xed a sm|all bug |
|00000bb0| 74 68 61 74 20 70 72 65 | 76 65 6e 74 65 64 20 64 |that pre|vented d|
|00000bc0| 69 73 70 6c 61 79 20 6f | 66 20 6e 6f 69 73 65 20 |isplay o|f noise |
|00000bd0| 6f 6e 20 61 6e 20 61 6c | 74 65 72 6e 61 74 65 0d |on an al|ternate.|
|00000be0| 6d 6f 6e 69 74 6f 72 20 | 69 66 20 69 74 20 68 61 |monitor |if it ha|
|00000bf0| 64 20 61 20 64 69 66 66 | 65 72 65 6e 74 20 70 69 |d a diff|erent pi|
|00000c00| 78 65 6c 53 69 7a 65 20 | 74 68 61 6e 20 74 68 65 |xelSize |than the|
|00000c10| 20 6d 61 69 6e 20 73 63 | 72 65 65 6e 2e 0d 0d 39 | main sc|reen...9|
|00000c20| 2f 31 35 2f 39 32 20 64 | 67 70 20 55 70 64 61 74 |/15/92 d|gp Updat|
|00000c30| 65 64 20 74 6f 20 75 73 | 65 20 6e 65 77 20 54 69 |ed to us|e new Ti|
|00000c40| 6d 65 72 2e 63 2e 0d 0d | 32 2f 31 38 2f 39 33 09 |mer.c...|2/18/93.|
|00000c50| 64 67 70 09 41 64 64 65 | 64 20 66 70 75 20 74 65 |dgp.Adde|d fpu te|
|00000c60| 73 74 2e 0d 32 2f 32 30 | 2f 39 33 09 64 67 70 09 |st..2/20|/93.dgp.|
|00000c70| 43 61 6c 6c 20 52 65 71 | 75 69 72 65 28 29 2c 20 |Call Req|uire(), |
|00000c80| 69 6e 63 72 65 61 73 65 | 64 20 73 74 61 63 6b 20 |increase|d stack |
|00000c90| 73 70 61 63 65 2e 0d 37 | 2f 37 2f 39 33 09 64 67 |space..7|/7/93.dg|
|00000ca0| 70 20 72 65 70 6c 61 63 | 65 64 20 63 61 6c 6c 20 |p replac|ed call |
|00000cb0| 74 6f 20 43 6f 70 79 42 | 69 74 73 51 75 69 63 6b |to CopyB|itsQuick|
|00000cc0| 6c 79 20 62 79 20 43 6f | 70 79 42 69 74 73 2c 20 |ly by Co|pyBits, |
|00000cd0| 66 6f 72 20 63 6f 6d 70 | 61 74 69 62 69 6c 69 74 |for comp|atibilit|
|00000ce0| 79 20 77 69 74 68 0d 52 | 61 64 69 75 73 20 50 6f |y with.R|adius Po|
|00000cf0| 77 65 72 56 69 65 77 2e | 0d 33 2f 31 39 2f 39 34 |werView.|.3/19/94|
|00000d00| 09 64 67 70 20 75 70 64 | 61 74 65 64 20 74 68 65 |.dgp upd|ated the|
|00000d10| 20 63 61 6c 6c 20 74 6f | 20 53 68 75 66 66 6c 65 | call to| Shuffle|
|00000d20| 28 29 2c 20 61 64 64 69 | 6e 67 20 6e 65 77 20 72 |(), addi|ng new r|
|00000d30| 65 71 75 69 72 65 64 20 | 61 72 67 75 6d 65 6e 74 |equired |argument|
|00000d40| 2e 0d 35 2f 33 30 2f 39 | 34 09 64 67 70 09 63 61 |..5/30/9|4.dgp.ca|
|00000d50| 6c 6c 20 53 74 61 63 6b | 47 72 6f 77 28 29 20 62 |ll Stack|Grow() b|
|00000d60| 65 66 6f 72 65 20 63 61 | 6c 6c 69 6e 67 20 4e 6f |efore ca|lling No|
|00000d70| 69 73 65 56 42 4c 28 29 | 2e 0d 37 2f 32 37 2f 39 |iseVBL()|..7/27/9|
|00000d80| 34 20 64 67 70 20 63 68 | 61 6e 67 65 64 20 22 74 |4 dgp ch|anged "t|
|00000d90| 68 65 50 6f 72 74 22 20 | 74 6f 20 26 71 64 2e 74 |hePort" |to &qd.t|
|00000da0| 68 65 50 6f 72 74 2c 20 | 66 6f 72 20 62 72 6f 61 |hePort, |for broa|
|00000db0| 64 65 72 20 63 6f 6d 70 | 61 74 69 62 69 6c 69 74 |der comp|atibilit|
|00000dc0| 79 2c 20 61 73 20 73 75 | 67 67 65 73 74 65 64 20 |y, as su|ggested |
|00000dd0| 62 79 0d 4d 61 72 74 79 | 20 57 61 63 68 74 65 72 |by.Marty| Wachter|
|00000de0| 2e 0d 39 2f 35 2f 39 34 | 20 64 67 70 20 72 65 6d |..9/5/94| dgp rem|
|00000df0| 6f 76 65 64 20 61 73 73 | 75 6d 70 74 69 6f 6e 20 |oved ass|umption |
|00000e00| 69 6e 20 70 72 69 6e 74 | 66 27 73 20 74 68 61 74 |in print|f's that|
|00000e10| 20 69 6e 74 3d 3d 73 68 | 6f 72 74 2e 0d 31 31 2f | int==sh|ort..11/|
|00000e20| 36 2f 39 34 20 64 67 70 | 20 75 70 64 61 74 65 64 |6/94 dgp| updated|
|00000e30| 20 74 6f 20 64 65 6d 6f | 6e 73 74 72 61 74 65 20 | to demo|nstrate |
|00000e40| 75 73 65 20 6f 66 20 47 | 57 6f 72 6c 64 20 61 6e |use of G|World an|
|00000e50| 64 20 43 6f 70 79 57 69 | 6e 64 6f 77 73 2e 0d 2a |d CopyWi|ndows..*|
|00000e60| 2f 0d 0d 23 69 6e 63 6c | 75 64 65 20 22 56 69 64 |/..#incl|ude "Vid|
|00000e70| 65 6f 54 6f 6f 6c 62 6f | 78 2e 68 22 0d 23 69 6e |eoToolbo|x.h".#in|
|00000e80| 63 6c 75 64 65 20 3c 61 | 73 73 65 72 74 2e 68 3e |clude <a|ssert.h>|
|00000e90| 0d 23 69 66 20 28 54 48 | 49 4e 4b 5f 43 20 7c 7c |.#if (TH|INK_C |||
|00000ea0| 20 54 48 49 4e 4b 5f 43 | 50 4c 55 53 29 0d 09 23 | THINK_C|PLUS)..#|
|00000eb0| 69 6e 63 6c 75 64 65 20 | 3c 63 6f 6e 73 6f 6c 65 |include |<console|
|00000ec0| 2e 68 3e 0d 23 65 6e 64 | 69 66 0d 23 69 66 20 5f |.h>.#end|if.#if _|
|00000ed0| 5f 4d 57 45 52 4b 53 5f | 5f 0d 09 23 69 6e 63 6c |_MWERKS_|_..#incl|
|00000ee0| 75 64 65 20 3c 53 49 4f | 55 58 2e 68 3e 0d 23 65 |ude <SIO|UX.h>.#e|
|00000ef0| 6e 64 69 66 0d 23 69 66 | 20 55 4e 49 56 45 52 53 |ndif.#if| UNIVERS|
|00000f00| 41 4c 5f 48 45 41 44 45 | 52 53 0d 09 23 69 6e 63 |AL_HEADE|RS..#inc|
|00000f10| 6c 75 64 65 20 3c 4c 6f | 77 4d 65 6d 2e 68 3e 0d |lude <Lo|wMem.h>.|
|00000f20| 23 65 6c 73 65 0d 09 23 | 64 65 66 69 6e 65 20 4c |#else..#|define L|
|00000f30| 4d 47 65 74 4d 42 61 72 | 48 65 69 67 68 74 28 29 |MGetMBar|Height()|
|00000f40| 20 28 2a 20 28 73 68 6f | 72 74 20 2a 29 20 30 78 | (* (sho|rt *) 0x|
|00000f50| 30 42 41 41 29 0d 09 23 | 64 65 66 69 6e 65 20 4c |0BAA)..#|define L|
|00000f60| 4d 53 65 74 4d 42 61 72 | 48 65 69 67 68 74 28 4d |MSetMBar|Height(M|
|00000f70| 42 61 72 48 65 69 67 68 | 74 56 61 6c 75 65 29 20 |BarHeigh|tValue) |
|00000f80| 28 28 2a 20 28 73 68 6f | 72 74 20 2a 29 20 30 78 |((* (sho|rt *) 0x|
|00000f90| 30 42 41 41 29 20 3d 20 | 28 4d 42 61 72 48 65 69 |0BAA) = |(MBarHei|
|00000fa0| 67 68 74 56 61 6c 75 65 | 29 29 0d 23 65 6e 64 69 |ghtValue|)).#endi|
|00000fb0| 66 0d 0d 2f 2a 20 54 68 | 65 20 75 73 65 72 20 6d |f../* Th|e user m|
|00000fc0| 61 79 20 77 69 73 68 20 | 74 6f 20 61 64 6a 75 73 |ay wish |to adjus|
|00000fd0| 74 20 74 68 65 73 65 2e | 20 57 49 44 54 48 20 73 |t these.| WIDTH s|
|00000fe0| 68 6f 75 6c 64 20 62 65 | 20 61 20 6d 75 6c 74 69 |hould be| a multi|
|00000ff0| 70 6c 65 20 6f 66 20 34 | 2e 20 2a 2f 0d 23 64 65 |ple of 4|. */.#de|
|00001000| 66 69 6e 65 20 4d 41 58 | 46 52 41 4d 45 53 09 32 |fine MAX|FRAMES.2|
|00001010| 30 30 09 09 2f 2f 20 6e | 75 6d 62 65 72 20 6f 66 |00..// n|umber of|
|00001020| 20 66 72 61 6d 65 73 20 | 69 6e 20 6d 6f 76 69 65 | frames |in movie|
|00001030| 0d 23 64 65 66 69 6e 65 | 20 57 49 44 54 48 09 32 |.#define| WIDTH.2|
|00001040| 35 36 09 09 09 2f 2a 20 | 77 69 64 74 68 20 6f 66 |56.../* |width of|
|00001050| 20 64 69 73 70 6c 61 79 | 65 64 20 6e 6f 69 73 65 | display|ed noise|
|00001060| 20 6d 6f 76 69 65 2c 20 | 69 6e 20 70 69 78 65 6c | movie, |in pixel|
|00001070| 73 20 2a 2f 0d 23 64 65 | 66 69 6e 65 20 48 45 49 |s */.#de|fine HEI|
|00001080| 47 48 54 09 32 35 36 09 | 09 09 2f 2a 20 68 65 69 |GHT.256.|../* hei|
|00001090| 67 68 74 20 6f 66 20 64 | 69 73 70 6c 61 79 65 64 |ght of d|isplayed|
|000010a0| 20 6e 6f 69 73 65 20 6d | 6f 76 69 65 2c 20 69 6e | noise m|ovie, in|
|000010b0| 20 70 69 78 65 6c 73 20 | 2a 2f 0d 23 64 65 66 69 | pixels |*/.#defi|
|000010c0| 6e 65 20 52 41 4e 44 4f | 4d 50 48 41 53 45 20 31 |ne RANDO|MPHASE 1|
|000010d0| 09 09 2f 2a 20 72 61 6e | 64 6f 6d 6c 79 20 73 68 |../* ran|domly sh|
|000010e0| 69 66 74 20 65 61 63 68 | 20 6d 6f 76 69 65 20 66 |ift each| movie f|
|000010f0| 72 61 6d 65 20 2a 2f 0d | 0d 2f 2a 20 54 68 69 73 |rame */.|./* This|
|00001100| 20 69 73 20 6a 75 73 74 | 20 66 6f 72 20 72 65 66 | is just| for ref|
|00001110| 65 72 65 6e 63 65 2e 20 | 54 68 65 20 6f 72 69 67 |erence. |The orig|
|00001120| 69 6e 61 6c 20 69 73 20 | 69 6e 20 56 69 64 65 6f |inal is |in Video|
|00001130| 54 6f 6f 6c 62 6f 78 2e | 68 0d 73 74 72 75 63 74 |Toolbox.|h.struct|
|00001140| 20 56 42 4c 54 61 73 6b | 41 6e 64 41 35 20 7b 0d | VBLTask|AndA5 {.|
|00001150| 20 20 20 20 76 6f 6c 61 | 74 69 6c 65 20 56 42 4c | vola|tile VBL|
|00001160| 54 61 73 6b 20 76 62 6c | 3b 0d 20 20 20 20 6c 6f |Task vbl|;. lo|
|00001170| 6e 67 20 6f 75 72 41 35 | 3b 0d 20 20 20 20 76 6f |ng ourA5|;. vo|
|00001180| 69 64 20 28 2a 73 75 62 | 72 6f 75 74 69 6e 65 29 |id (*sub|routine)|
|00001190| 28 73 74 72 75 63 74 20 | 56 42 4c 54 61 73 6b 41 |(struct |VBLTaskA|
|000011a0| 6e 64 41 35 20 2a 76 62 | 6c 44 61 74 61 29 3b 0d |ndA5 *vb|lData);.|
|000011b0| 20 20 20 20 47 44 48 61 | 6e 64 6c 65 20 64 65 76 | GDHa|ndle dev|
|000011c0| 69 63 65 3b 0d 20 20 20 | 20 6c 6f 6e 67 20 73 6c |ice;. | long sl|
|000011d0| 6f 74 3b 0d 20 20 20 20 | 76 6f 6c 61 74 69 6c 65 |ot;. |volatile|
|000011e0| 20 6c 6f 6e 67 20 6e 65 | 77 46 72 61 6d 65 3b 09 | long ne|wFrame;.|
|000011f0| 09 09 09 2f 2f 20 42 6f | 6f 6c 65 61 6e 0d 20 20 |...// Bo|olean. |
|00001200| 20 20 76 6f 6c 61 74 69 | 6c 65 20 6c 6f 6e 67 20 | volati|le long |
|00001210| 66 72 61 6d 65 73 4c 65 | 66 74 3b 09 09 09 2f 2f |framesLe|ft;...//|
|00001220| 20 63 6f 75 6e 74 20 64 | 6f 77 6e 20 74 6f 20 7a | count d|own to z|
|00001230| 65 72 6f 0d 20 20 20 20 | 6c 6f 6e 67 20 66 72 61 |ero. |long fra|
|00001240| 6d 65 73 44 65 73 69 72 | 65 64 3b 0d 20 20 20 20 |mesDesir|ed;. |
|00001250| 76 6f 69 64 20 2a 70 74 | 72 3b 09 09 09 09 09 09 |void *pt|r;......|
|00001260| 09 2f 2f 20 75 73 65 20 | 74 68 69 73 20 66 6f 72 |.// use |this for|
|00001270| 20 77 68 61 74 65 76 65 | 72 20 79 6f 75 20 77 61 | whateve|r you wa|
|00001280| 6e 74 0d 7d 3b 0d 74 79 | 70 65 64 65 66 20 73 74 |nt.};.ty|pedef st|
|00001290| 72 75 63 74 20 56 42 4c | 54 61 73 6b 41 6e 64 41 |ruct VBL|TaskAndA|
|000012a0| 35 20 56 42 4c 54 61 73 | 6b 41 6e 64 41 35 3b 0d |5 VBLTas|kAndA5;.|
|000012b0| 2a 2f 0d 0d 76 6f 69 64 | 20 6d 61 69 6e 28 76 6f |*/..void| main(vo|
|000012c0| 69 64 29 3b 0d 76 6f 69 | 64 20 4e 6f 69 73 65 56 |id);.voi|d NoiseV|
|000012d0| 42 4c 28 76 6f 69 64 29 | 3b 0d 0d 76 6f 69 64 20 |BL(void)|;..void |
|000012e0| 6d 61 69 6e 28 29 0d 7b | 0d 09 53 74 61 63 6b 47 |main().{|..StackG|
|000012f0| 72 6f 77 28 32 30 30 30 | 30 29 3b 0d 09 52 65 71 |row(2000|0);..Req|
|00001300| 75 69 72 65 28 67 65 73 | 74 61 6c 74 38 42 69 74 |uire(ges|talt8Bit|
|00001310| 51 44 29 3b 0d 09 4e 6f | 69 73 65 56 42 4c 28 29 |QD);..No|iseVBL()|
|00001320| 3b 0d 7d 0d 0d 76 6f 69 | 64 20 4e 6f 69 73 65 56 |;.}..voi|d NoiseV|
|00001330| 42 4c 28 29 0d 7b 0d 09 | 69 6e 74 20 69 2c 65 72 |BL().{..|int i,er|
|00001340| 72 6f 72 2c 64 78 3d 33 | 32 2c 64 79 3d 33 32 2c |ror,dx=3|2,dy=32,|
|00001350| 64 74 3d 31 3b 0d 09 6c | 6f 6e 67 20 66 72 61 6d |dt=1;..l|ong fram|
|00001360| 65 73 3b 0d 09 75 6e 73 | 69 67 6e 65 64 20 6c 6f |es;..uns|igned lo|
|00001370| 6e 67 20 73 65 65 64 3b | 0d 09 64 6f 75 62 6c 65 |ng seed;|..double|
|00001380| 20 73 3b 0d 09 73 74 61 | 74 69 63 20 63 68 61 72 | s;..sta|tic char|
|00001390| 20 73 74 72 69 6e 67 5b | 36 34 5d 3b 0d 09 52 65 | string[|64];..Re|
|000013a0| 63 74 20 72 3b 0d 09 73 | 68 6f 72 74 20 6e 6f 69 |ct r;..s|hort noi|
|000013b0| 73 65 49 3d 30 2c 6e 6f | 69 73 65 4e 3d 4d 41 58 |seI=0,no|iseN=MAX|
|000013c0| 46 52 41 4d 45 53 3b 0d | 09 47 57 6f 72 6c 64 50 |FRAMES;.|.GWorldP|
|000013d0| 74 72 20 6e 6f 69 73 65 | 49 6d 61 67 65 5b 4d 41 |tr noise|Image[MA|
|000013e0| 58 46 52 41 4d 45 53 5d | 3b 0d 09 73 68 6f 72 74 |XFRAMES]|;..short|
|000013f0| 20 6e 6f 69 73 65 53 65 | 71 75 65 6e 63 65 5b 4d | noiseSe|quence[M|
|00001400| 41 58 46 52 41 4d 45 53 | 5d 3b 20 2f 2a 20 73 68 |AXFRAMES|]; /* sh|
|00001410| 75 66 66 6c 65 64 20 73 | 65 71 75 65 6e 63 65 20 |uffled s|equence |
|00001420| 2a 2f 0d 09 56 42 4c 54 | 61 73 6b 41 6e 64 41 35 |*/..VBLT|askAndA5|
|00001430| 20 6e 6f 69 73 65 56 42 | 4c 3b 0d 09 57 69 6e 64 | noiseVB|L;..Wind|
|00001440| 6f 77 50 74 72 20 77 69 | 6e 64 6f 77 2c 6f 6c 64 |owPtr wi|ndow,old|
|00001450| 50 6f 72 74 3b 0d 09 45 | 76 65 6e 74 52 65 63 6f |Port;..E|ventReco|
|00001460| 72 64 20 65 76 65 6e 74 | 3b 0d 09 54 69 6d 65 72 |rd event|;..Timer|
|00001470| 20 2a 74 69 6d 65 72 3b | 0d 09 69 6e 74 20 73 63 | *timer;|..int sc|
|00001480| 72 65 65 6e 3b 0d 09 43 | 6f 6c 6f 72 54 61 62 6c |reen;..C|olorTabl|
|00001490| 65 20 2a 2a 63 74 3b 0d | 09 0d 09 61 73 73 65 72 |e **ct;.|...asser|
|000014a0| 74 28 53 74 61 63 6b 53 | 70 61 63 65 28 29 3e 35 |t(StackS|pace()>5|
|000014b0| 30 30 30 29 3b 0d 09 47 | 65 74 44 61 74 65 54 69 |000);..G|etDateTi|
|000014c0| 6d 65 28 26 73 65 65 64 | 29 3b 0d 09 73 72 61 6e |me(&seed|);..sran|
|000014d0| 64 28 73 65 65 64 29 3b | 0d 09 2f 2a 20 49 4e 49 |d(seed);|../* INI|
|000014e0| 54 49 41 4c 49 5a 45 20 | 51 75 69 63 6b 44 72 61 |TIALIZE |QuickDra|
|000014f0| 77 20 2a 2f 0d 09 23 69 | 66 20 28 54 48 49 4e 4b |w */..#i|f (THINK|
|00001500| 5f 43 20 7c 7c 20 54 48 | 49 4e 4b 5f 43 50 4c 55 |_C || TH|INK_CPLU|
|00001510| 53 29 0d 09 09 63 6f 6e | 73 6f 6c 65 5f 6f 70 74 |S)...con|sole_opt|
|00001520| 69 6f 6e 73 2e 6e 72 6f | 77 73 20 3d 20 33 3b 0d |ions.nro|ws = 3;.|
|00001530| 09 09 70 72 69 6e 74 66 | 28 22 5c 6e 22 29 3b 0d |..printf|("\n");.|
|00001540| 09 23 65 6c 69 66 20 5f | 5f 4d 57 45 52 4b 53 5f |.#elif _|_MWERKS_|
|00001550| 5f 0d 09 09 53 49 4f 55 | 58 53 65 74 74 69 6e 67 |_...SIOU|XSetting|
|00001560| 73 2e 74 6f 70 70 69 78 | 65 6c 3d 4c 4d 47 65 74 |s.toppix|el=LMGet|
|00001570| 4d 42 61 72 48 65 69 67 | 68 74 28 29 2b 31 39 3b |MBarHeig|ht()+19;|
|00001580| 09 2f 2f 20 61 6c 6c 6f | 77 20 66 6f 72 20 6d 65 |.// allo|w for me|
|00001590| 6e 75 20 62 61 72 20 61 | 6e 64 20 74 69 74 6c 65 |nu bar a|nd title|
|000015a0| 20 62 61 72 0d 09 09 53 | 49 4f 55 58 53 65 74 74 | bar...S|IOUXSett|
|000015b0| 69 6e 67 73 2e 6c 65 66 | 74 70 69 78 65 6c 3d 31 |ings.lef|tpixel=1|
|000015c0| 3b 0d 09 09 53 49 4f 55 | 58 53 65 74 74 69 6e 67 |;...SIOU|XSetting|
|000015d0| 73 2e 72 6f 77 73 3d 33 | 3b 0d 09 09 53 49 4f 55 |s.rows=3|;...SIOU|
|000015e0| 58 53 65 74 74 69 6e 67 | 73 2e 61 75 74 6f 63 6c |XSetting|s.autocl|
|000015f0| 6f 73 65 6f 6e 71 75 69 | 74 3d 30 3b 0d 09 09 53 |oseonqui|t=0;...S|
|00001600| 49 4f 55 58 53 65 74 74 | 69 6e 67 73 2e 73 68 6f |IOUXSett|ings.sho|
|00001610| 77 73 74 61 74 75 73 6c | 69 6e 65 3d 30 3b 0d 09 |wstatusl|ine=0;..|
|00001620| 09 53 49 4f 55 58 53 65 | 74 74 69 6e 67 73 2e 61 |.SIOUXSe|ttings.a|
|00001630| 73 6b 74 6f 73 61 76 65 | 6f 6e 63 6c 6f 73 65 3d |sktosave|onclose=|
|00001640| 30 3b 0d 09 09 70 72 69 | 6e 74 66 28 22 5c 6e 22 |0;...pri|ntf("\n"|
|00001650| 29 3b 0d 09 23 65 6c 73 | 65 0d 09 09 49 6e 69 74 |);..#els|e...Init|
|00001660| 47 72 61 66 28 26 71 64 | 2e 74 68 65 50 6f 72 74 |Graf(&qd|.thePort|
|00001670| 29 3b 0d 09 09 49 6e 69 | 74 46 6f 6e 74 73 28 29 |);...Ini|tFonts()|
|00001680| 3b 0d 09 09 49 6e 69 74 | 57 69 6e 64 6f 77 73 28 |;...Init|Windows(|
|00001690| 29 3b 0d 09 09 49 6e 69 | 74 43 75 72 73 6f 72 28 |);...Ini|tCursor(|
|000016a0| 29 3b 0d 09 23 65 6e 64 | 69 66 0d 0d 09 64 6f 7b |);..#end|if...do{|
|000016b0| 0d 09 09 69 66 28 47 65 | 74 53 63 72 65 65 6e 44 |...if(Ge|tScreenD|
|000016c0| 65 76 69 63 65 28 31 29 | 21 3d 4e 55 4c 4c 29 73 |evice(1)|!=NULL)s|
|000016d0| 63 72 65 65 6e 3d 43 68 | 6f 6f 73 65 53 63 72 65 |creen=Ch|ooseScre|
|000016e0| 65 6e 28 31 2c 22 57 68 | 69 63 68 20 73 63 72 65 |en(1,"Wh|ich scre|
|000016f0| 65 6e 3f 22 29 3b 0d 09 | 09 65 6c 73 65 20 73 63 |en?");..|.else sc|
|00001700| 72 65 65 6e 3d 30 3b 0d | 09 09 6e 6f 69 73 65 56 |reen=0;.|..noiseV|
|00001710| 42 4c 2e 64 65 76 69 63 | 65 3d 47 65 74 53 63 72 |BL.devic|e=GetScr|
|00001720| 65 65 6e 44 65 76 69 63 | 65 28 73 63 72 65 65 6e |eenDevic|e(screen|
|00001730| 29 3b 0d 09 7d 77 68 69 | 6c 65 28 6e 6f 69 73 65 |);..}whi|le(noise|
|00001740| 56 42 4c 2e 64 65 76 69 | 63 65 3d 3d 4e 55 4c 4c |VBL.devi|ce==NULL|
|00001750| 29 3b 0d 0d 09 70 72 69 | 6e 74 66 28 22 45 6e 74 |);...pri|ntf("Ent|
|00001760| 65 72 20 77 69 64 74 68 | 20 6f 66 20 63 68 65 63 |er width| of chec|
|00001770| 6b 20 69 6e 20 70 69 78 | 65 6c 73 20 28 25 64 29 |k in pix|els (%d)|
|00001780| 3f 22 2c 64 78 29 3b 0d | 09 67 65 74 73 28 73 74 |?",dx);.|.gets(st|
|00001790| 72 69 6e 67 29 3b 0d 09 | 73 73 63 61 6e 66 28 73 |ring);..|sscanf(s|
|000017a0| 74 72 69 6e 67 2c 22 25 | 64 22 2c 26 64 78 29 3b |tring,"%|d",&dx);|
|000017b0| 0d 09 70 72 69 6e 74 66 | 28 22 25 64 5c 6e 22 2c |..printf|("%d\n",|
|000017c0| 64 78 29 3b 0d 09 70 72 | 69 6e 74 66 28 22 45 6e |dx);..pr|intf("En|
|000017d0| 74 65 72 20 68 65 69 67 | 68 74 20 6f 66 20 63 68 |ter heig|ht of ch|
|000017e0| 65 63 6b 20 69 6e 20 70 | 69 78 65 6c 73 20 28 25 |eck in p|ixels (%|
|000017f0| 64 29 3f 22 2c 64 79 29 | 3b 0d 09 67 65 74 73 28 |d)?",dy)|;..gets(|
|00001800| 73 74 72 69 6e 67 29 3b | 0d 09 73 73 63 61 6e 66 |string);|..sscanf|
|00001810| 28 73 74 72 69 6e 67 2c | 22 25 64 22 2c 26 64 79 |(string,|"%d",&dy|
|00001820| 29 3b 0d 09 70 72 69 6e | 74 66 28 22 25 64 5c 6e |);..prin|tf("%d\n|
|00001830| 22 2c 64 79 29 3b 0d 09 | 70 72 69 6e 74 66 28 22 |",dy);..|printf("|
|00001840| 45 6e 74 65 72 20 64 75 | 72 61 74 69 6f 6e 20 6f |Enter du|ration o|
|00001850| 66 20 63 68 65 63 6b 20 | 69 6e 20 66 72 61 6d 65 |f check |in frame|
|00001860| 73 20 28 25 64 29 3f 22 | 2c 64 74 29 3b 0d 09 67 |s (%d)?"|,dt);..g|
|00001870| 65 74 73 28 73 74 72 69 | 6e 67 29 3b 0d 09 73 73 |ets(stri|ng);..ss|
|00001880| 63 61 6e 66 28 73 74 72 | 69 6e 67 2c 22 25 64 22 |canf(str|ing,"%d"|
|00001890| 2c 26 64 74 29 3b 0d 09 | 70 72 69 6e 74 66 28 22 |,&dt);..|printf("|
|000018a0| 25 64 5c 6e 22 2c 64 74 | 29 3b 0d 0d 09 47 65 74 |%d\n",dt|);...Get|
|000018b0| 50 6f 72 74 28 26 6f 6c | 64 50 6f 72 74 29 3b 0d |Port(&ol|dPort);.|
|000018c0| 09 53 65 74 52 65 63 74 | 28 26 72 2c 30 2c 30 2c |.SetRect|(&r,0,0,|
|000018d0| 57 49 44 54 48 2c 57 49 | 44 54 48 29 3b 0d 09 43 |WIDTH,WI|DTH);..C|
|000018e0| 65 6e 74 65 72 52 65 63 | 74 49 6e 52 65 63 74 28 |enterRec|tInRect(|
|000018f0| 26 72 2c 26 28 2a 6e 6f | 69 73 65 56 42 4c 2e 64 |&r,&(*no|iseVBL.d|
|00001900| 65 76 69 63 65 29 2d 3e | 67 64 52 65 63 74 29 3b |evice)->|gdRect);|
|00001910| 0d 09 4f 66 66 73 65 74 | 52 65 63 74 28 26 72 2c |..Offset|Rect(&r,|
|00001920| 2d 28 72 2e 6c 65 66 74 | 25 33 32 29 2c 30 29 3b |-(r.left|%32),0);|
|00001930| 0d 09 77 69 6e 64 6f 77 | 3d 4e 65 77 43 57 69 6e |..window|=NewCWin|
|00001940| 64 6f 77 28 4e 55 4c 4c | 2c 26 72 2c 22 5c 70 43 |dow(NULL|,&r,"\pC|
|00001950| 6f 6d 70 75 74 69 6e 67 | 20 6e 6f 69 73 65 20 2e |omputing| noise .|
|00001960| 2e 2e 22 2c 31 2c 6e 6f | 47 72 6f 77 44 6f 63 50 |..",1,no|GrowDocP|
|00001970| 72 6f 63 2c 28 57 69 6e | 64 6f 77 50 74 72 29 20 |roc,(Win|dowPtr) |
|00001980| 2d 31 4c 2c 30 2c 30 4c | 29 3b 0d 09 53 65 74 50 |-1L,0,0L|);..SetP|
|00001990| 6f 72 74 28 77 69 6e 64 | 6f 77 29 3b 0d 09 63 74 |ort(wind|ow);..ct|
|000019a0| 3d 28 2a 2a 28 2a 2a 6e | 6f 69 73 65 56 42 4c 2e |=(**(**n|oiseVBL.|
|000019b0| 64 65 76 69 63 65 29 2e | 67 64 50 4d 61 70 29 2e |device).|gdPMap).|
|000019c0| 70 6d 54 61 62 6c 65 3b | 0d 09 66 6f 72 28 69 3d |pmTable;|..for(i=|
|000019d0| 30 3b 69 3c 4d 41 58 46 | 52 41 4d 45 53 3b 69 2b |0;i<MAXF|RAMES;i+|
|000019e0| 2b 29 7b 0d 09 09 65 72 | 72 6f 72 3d 4e 65 77 47 |+){...er|ror=NewG|
|000019f0| 57 6f 72 6c 64 28 26 6e | 6f 69 73 65 49 6d 61 67 |World(&n|oiseImag|
|00001a00| 65 5b 69 5d 2c 30 2c 26 | 72 2c 63 74 2c 6e 6f 69 |e[i],0,&|r,ct,noi|
|00001a10| 73 65 56 42 4c 2e 64 65 | 76 69 63 65 2c 6b 65 65 |seVBL.de|vice,kee|
|00001a20| 70 4c 6f 63 61 6c 2b 6e | 6f 4e 65 77 44 65 76 69 |pLocal+n|oNewDevi|
|00001a30| 63 65 2b 75 73 65 54 65 | 6d 70 4d 65 6d 29 3b 0d |ce+useTe|mpMem);.|
|00001a40| 09 09 69 66 28 65 72 72 | 6f 72 29 65 72 72 6f 72 |..if(err|or)error|
|00001a50| 3d 4e 65 77 47 57 6f 72 | 6c 64 28 26 6e 6f 69 73 |=NewGWor|ld(&nois|
|00001a60| 65 49 6d 61 67 65 5b 69 | 5d 2c 30 2c 26 72 2c 63 |eImage[i|],0,&r,c|
|00001a70| 74 2c 6e 6f 69 73 65 56 | 42 4c 2e 64 65 76 69 63 |t,noiseV|BL.devic|
|00001a80| 65 2c 6b 65 65 70 4c 6f | 63 61 6c 2b 6e 6f 4e 65 |e,keepLo|cal+noNe|
|00001a90| 77 44 65 76 69 63 65 29 | 3b 0d 09 09 69 66 28 65 |wDevice)|;...if(e|
|00001aa0| 72 72 6f 72 29 62 72 65 | 61 6b 3b 0d 09 09 65 72 |rror)bre|ak;...er|
|00001ab0| 72 6f 72 3d 4e 6f 69 73 | 65 46 69 6c 6c 28 6e 6f |ror=Nois|eFill(no|
|00001ac0| 69 73 65 49 6d 61 67 65 | 5b 69 5d 2c 26 6e 6f 69 |iseImage|[i],&noi|
|00001ad0| 73 65 49 6d 61 67 65 5b | 69 5d 2d 3e 70 6f 72 74 |seImage[|i]->port|
|00001ae0| 52 65 63 74 2c 64 78 2c | 64 79 2c 52 41 4e 44 4f |Rect,dx,|dy,RANDO|
|00001af0| 4d 50 48 41 53 45 29 3b | 0d 09 09 4c 6f 63 6b 50 |MPHASE);|...LockP|
|00001b00| 69 78 65 6c 73 28 6e 6f | 69 73 65 49 6d 61 67 65 |ixels(no|iseImage|
|00001b10| 5b 69 5d 2d 3e 70 6f 72 | 74 50 69 78 4d 61 70 29 |[i]->por|tPixMap)|
|00001b20| 3b 0d 09 09 69 66 28 65 | 72 72 6f 72 29 62 72 65 |;...if(e|rror)bre|
|00001b30| 61 6b 3b 0d 09 7d 0d 09 | 6e 6f 69 73 65 4e 3d 69 |ak;..}..|noiseN=i|
|00001b40| 3b 0d 09 53 65 74 50 6f | 72 74 28 6f 6c 64 50 6f |;..SetPo|rt(oldPo|
|00001b50| 72 74 29 3b 0d 09 70 72 | 69 6e 74 66 28 22 55 73 |rt);..pr|intf("Us|
|00001b60| 69 6e 67 20 25 64 20 64 | 69 66 66 65 72 65 6e 74 |ing %d d|ifferent|
|00001b70| 20 66 72 61 6d 65 73 20 | 6f 66 20 6e 6f 69 73 65 | frames |of noise|
|00001b80| 2e 5c 6e 22 2c 28 69 6e | 74 29 6e 6f 69 73 65 4e |.\n",(in|t)noiseN|
|00001b90| 29 3b 0d 09 66 6f 72 28 | 69 3d 30 3b 69 3c 6e 6f |);..for(|i=0;i<no|
|00001ba0| 69 73 65 4e 3b 69 2b 2b | 29 6e 6f 69 73 65 53 65 |iseN;i++|)noiseSe|
|00001bb0| 71 75 65 6e 63 65 5b 69 | 5d 3d 69 3b 20 2f 2a 20 |quence[i|]=i; /* |
|00001bc0| 69 6e 69 74 69 61 6c 69 | 7a 65 20 73 65 71 75 65 |initiali|ze seque|
|00001bd0| 6e 63 65 20 2a 2f 0d 09 | 46 6c 75 73 68 45 76 65 |nce */..|FlushEve|
|00001be0| 6e 74 73 28 2d 31 4c 2c | 30 29 3b 0d 09 70 72 69 |nts(-1L,|0);..pri|
|00001bf0| 6e 74 66 28 22 48 69 74 | 20 61 6e 79 20 6b 65 79 |ntf("Hit| any key|
|00001c00| 20 74 6f 20 71 75 69 74 | 2e 5c 6e 22 29 3b 0d 09 | to quit|.\n");..|
|00001c10| 53 65 74 57 54 69 74 6c | 65 28 77 69 6e 64 6f 77 |SetWTitl|e(window|
|00001c20| 2c 22 5c 70 4e 6f 69 73 | 65 56 42 4c 22 29 3b 0d |,"\pNois|eVBL");.|
|00001c30| 09 74 69 6d 65 72 3d 4e | 65 77 54 69 6d 65 72 28 |.timer=N|ewTimer(|
|00001c40| 29 3b 0d 09 64 6f 7b 0d | 09 09 53 65 6c 65 63 74 |);..do{.|..Select|
|00001c50| 57 69 6e 64 6f 77 28 77 | 69 6e 64 6f 77 29 3b 0d |Window(w|indow);.|
|00001c60| 09 09 53 68 75 66 66 6c | 65 28 6e 6f 69 73 65 53 |..Shuffl|e(noiseS|
|00001c70| 65 71 75 65 6e 63 65 2c | 6e 6f 69 73 65 4e 2c 73 |equence,|noiseN,s|
|00001c80| 69 7a 65 6f 66 28 2a 6e | 6f 69 73 65 53 65 71 75 |izeof(*n|oiseSequ|
|00001c90| 65 6e 63 65 29 29 3b 09 | 2f 2a 20 73 68 75 66 66 |ence));.|/* shuff|
|00001ca0| 6c 65 20 74 68 65 20 69 | 6d 61 67 65 73 20 2a 2f |le the i|mages */|
|00001cb0| 0d 09 09 6e 6f 69 73 65 | 49 3d 30 3b 0d 09 09 6e |...noise|I=0;...n|
|00001cc0| 6f 69 73 65 56 42 4c 2e | 73 75 62 72 6f 75 74 69 |oiseVBL.|subrouti|
|00001cd0| 6e 65 3d 4e 55 4c 4c 3b | 09 2f 2f 20 75 73 65 20 |ne=NULL;|.// use |
|00001ce0| 64 65 66 61 75 6c 74 0d | 09 09 65 72 72 6f 72 3d |default.|..error=|
|00001cf0| 56 42 4c 49 6e 73 74 61 | 6c 6c 28 26 6e 6f 69 73 |VBLInsta|ll(&nois|
|00001d00| 65 56 42 4c 2c 6e 6f 69 | 73 65 56 42 4c 2e 64 65 |eVBL,noi|seVBL.de|
|00001d10| 76 69 63 65 2c 4d 41 58 | 46 52 41 4d 45 53 29 3b |vice,MAX|FRAMES);|
|00001d20| 0d 09 09 69 66 28 65 72 | 72 6f 72 29 50 72 69 6e |...if(er|ror)Prin|
|00001d30| 74 66 45 78 69 74 28 22 | 56 42 4c 49 6e 73 74 61 |tfExit("|VBLInsta|
|00001d40| 6c 6c 3a 20 65 72 72 6f | 72 20 25 64 5c 6e 22 2c |ll: erro|r %d\n",|
|00001d50| 65 72 72 6f 72 29 3b 0d | 09 09 6e 6f 69 73 65 56 |error);.|..noiseV|
|00001d60| 42 4c 2e 76 62 6c 2e 76 | 62 6c 43 6f 75 6e 74 3d |BL.vbl.v|blCount=|
|00001d70| 31 3b 09 2f 2f 20 45 6e | 61 62 6c 65 20 69 6e 74 |1;.// En|able int|
|00001d80| 65 72 72 75 70 74 20 73 | 65 72 76 69 63 65 20 72 |errupt s|ervice r|
|00001d90| 6f 75 74 69 6e 65 0d 09 | 09 77 68 69 6c 65 28 21 |outine..|.while(!|
|00001da0| 6e 6f 69 73 65 56 42 4c | 2e 6e 65 77 46 72 61 6d |noiseVBL|.newFram|
|00001db0| 65 29 20 3b 09 2f 2f 20 | 77 61 69 74 20 66 6f 72 |e) ;.// |wait for|
|00001dc0| 20 66 69 72 73 74 20 66 | 72 61 6d 65 0d 09 09 6e | first f|rame...n|
|00001dd0| 6f 69 73 65 56 42 4c 2e | 6e 65 77 46 72 61 6d 65 |oiseVBL.|newFrame|
|00001de0| 3d 30 3b 0d 09 09 77 68 | 69 6c 65 28 21 6e 6f 69 |=0;...wh|ile(!noi|
|00001df0| 73 65 56 42 4c 2e 6e 65 | 77 46 72 61 6d 65 29 20 |seVBL.ne|wFrame) |
|00001e00| 3b 09 2f 2f 20 77 61 69 | 74 20 66 6f 72 20 73 65 |;.// wai|t for se|
|00001e10| 63 6f 6e 64 20 66 72 61 | 6d 65 0d 09 09 53 74 61 |cond fra|me...Sta|
|00001e20| 72 74 54 69 6d 65 72 28 | 74 69 6d 65 72 29 3b 0d |rtTimer(|timer);.|
|00001e30| 09 09 66 72 61 6d 65 73 | 3d 6e 6f 69 73 65 56 42 |..frames|=noiseVB|
|00001e40| 4c 2e 66 72 61 6d 65 73 | 4c 65 66 74 3b 0d 09 09 |L.frames|Left;...|
|00001e50| 77 68 69 6c 65 28 6e 6f | 69 73 65 56 42 4c 2e 66 |while(no|iseVBL.f|
|00001e60| 72 61 6d 65 73 4c 65 66 | 74 3e 31 29 7b 0d 09 09 |ramesLef|t>1){...|
|00001e70| 09 69 66 28 6e 6f 69 73 | 65 56 42 4c 2e 6e 65 77 |.if(nois|eVBL.new|
|00001e80| 46 72 61 6d 65 29 7b 0d | 09 09 09 09 6e 6f 69 73 |Frame){.|....nois|
|00001e90| 65 56 42 4c 2e 6e 65 77 | 46 72 61 6d 65 3d 30 3b |eVBL.new|Frame=0;|
|00001ea0| 0d 09 09 09 09 43 6f 70 | 79 57 69 6e 64 6f 77 73 |.....Cop|yWindows|
|00001eb0| 28 6e 6f 69 73 65 49 6d | 61 67 65 5b 6e 6f 69 73 |(noiseIm|age[nois|
|00001ec0| 65 53 65 71 75 65 6e 63 | 65 5b 6e 6f 69 73 65 49 |eSequenc|e[noiseI|
|00001ed0| 5d 5d 2c 28 43 57 69 6e | 64 6f 77 50 74 72 29 77 |]],(CWin|dowPtr)w|
|00001ee0| 69 6e 64 6f 77 0d 09 09 | 09 09 09 2c 26 6e 6f 69 |indow...|...,&noi|
|00001ef0| 73 65 49 6d 61 67 65 5b | 30 5d 2d 3e 70 6f 72 74 |seImage[|0]->port|
|00001f00| 52 65 63 74 2c 26 77 69 | 6e 64 6f 77 2d 3e 70 6f |Rect,&wi|ndow->po|
|00001f10| 72 74 52 65 63 74 2c 73 | 72 63 43 6f 70 79 2c 4e |rtRect,s|rcCopy,N|
|00001f20| 55 4c 4c 29 3b 0d 09 09 | 09 09 69 66 28 6e 6f 69 |ULL);...|..if(noi|
|00001f30| 73 65 56 42 4c 2e 66 72 | 61 6d 65 73 4c 65 66 74 |seVBL.fr|amesLeft|
|00001f40| 25 64 74 3d 3d 30 29 7b | 0d 09 09 09 09 09 6e 6f |%dt==0){|......no|
|00001f50| 69 73 65 49 2b 2b 3b 0d | 09 09 09 09 09 69 66 28 |iseI++;.|.....if(|
|00001f60| 6e 6f 69 73 65 49 3e 3d | 6e 6f 69 73 65 4e 29 20 |noiseI>=|noiseN) |
|00001f70| 7b 0d 09 09 09 09 09 09 | 53 68 75 66 66 6c 65 28 |{.......|Shuffle(|
|00001f80| 6e 6f 69 73 65 53 65 71 | 75 65 6e 63 65 2c 6e 6f |noiseSeq|uence,no|
|00001f90| 69 73 65 4e 2c 73 69 7a | 65 6f 66 28 2a 6e 6f 69 |iseN,siz|eof(*noi|
|00001fa0| 73 65 53 65 71 75 65 6e | 63 65 29 29 3b 0d 09 09 |seSequen|ce));...|
|00001fb0| 09 09 09 09 6e 6f 69 73 | 65 49 3d 30 3b 0d 09 09 |....nois|eI=0;...|
|00001fc0| 09 09 09 7d 0d 09 09 09 | 09 7d 0d 09 09 09 7d 0d |...}....|.}....}.|
|00001fd0| 09 09 7d 0d 09 09 77 68 | 69 6c 65 28 21 6e 6f 69 |..}...wh|ile(!noi|
|00001fe0| 73 65 56 42 4c 2e 6e 65 | 77 46 72 61 6d 65 29 20 |seVBL.ne|wFrame) |
|00001ff0| 3b 09 2f 2f 20 77 61 69 | 74 20 66 6f 72 20 6c 61 |;.// wai|t for la|
|00002000| 73 74 20 66 72 61 6d 65 | 0d 09 09 73 3d 53 74 6f |st frame|...s=Sto|
|00002010| 70 54 69 6d 65 72 28 74 | 69 6d 65 72 29 2f 31 30 |pTimer(t|imer)/10|
|00002020| 30 30 30 30 30 2e 3b 0d | 09 09 66 72 61 6d 65 73 |00000.;.|..frames|
|00002030| 2d 3d 6e 6f 69 73 65 56 | 42 4c 2e 66 72 61 6d 65 |-=noiseV|BL.frame|
|00002040| 73 4c 65 66 74 3b 0d 09 | 09 56 42 4c 52 65 6d 6f |sLeft;..|.VBLRemo|
|00002050| 76 65 28 26 6e 6f 69 73 | 65 56 42 4c 29 3b 0d 09 |ve(&nois|eVBL);..|
|00002060| 09 70 72 69 6e 74 66 28 | 22 25 2e 31 66 20 48 7a |.printf(|"%.1f Hz|
|00002070| 20 5c 72 22 2c 66 72 61 | 6d 65 73 2f 73 29 3b 0d | \r",fra|mes/s);.|
|00002080| 09 7d 77 68 69 6c 65 28 | 21 47 65 74 4e 65 78 74 |.}while(|!GetNext|
|00002090| 45 76 65 6e 74 28 6b 65 | 79 44 6f 77 6e 2b 6b 65 |Event(ke|yDown+ke|
|000020a0| 79 55 70 2b 6d 6f 75 73 | 65 44 6f 77 6e 2c 26 65 |yUp+mous|eDown,&e|
|000020b0| 76 65 6e 74 29 29 3b 0d | 09 46 6c 75 73 68 45 76 |vent));.|.FlushEv|
|000020c0| 65 6e 74 73 28 2d 31 4c | 2c 30 29 3b 0d 09 66 6f |ents(-1L|,0);..fo|
|000020d0| 72 20 28 69 3d 30 3b 69 | 3c 6e 6f 69 73 65 4e 3b |r (i=0;i|<noiseN;|
|000020e0| 69 2b 2b 29 20 44 69 73 | 70 6f 73 65 47 57 6f 72 |i++) Dis|poseGWor|
|000020f0| 6c 64 28 6e 6f 69 73 65 | 49 6d 61 67 65 5b 69 5d |ld(noise|Image[i]|
|00002100| 29 3b 0d 09 44 69 73 70 | 6f 73 65 57 69 6e 64 6f |);..Disp|oseWindo|
|00002110| 77 28 77 69 6e 64 6f 77 | 29 3b 0d 09 44 69 73 70 |w(window|);..Disp|
|00002120| 6f 73 65 54 69 6d 65 72 | 28 74 69 6d 65 72 29 3b |oseTimer|(timer);|
|00002130| 0d 09 23 69 66 20 28 54 | 48 49 4e 4b 5f 43 20 7c |..#if (T|HINK_C ||
|00002140| 7c 20 54 48 49 4e 4b 5f | 43 50 4c 55 53 29 0d 09 || THINK_|CPLUS)..|
|00002150| 09 61 62 6f 72 74 28 29 | 3b 0d 09 23 65 6c 69 66 |.abort()|;..#elif|
|00002160| 20 5f 5f 4d 57 45 52 4b | 53 5f 5f 0d 09 09 53 49 | __MWERK|S__...SI|
|00002170| 4f 55 58 53 65 74 74 69 | 6e 67 73 2e 61 75 74 6f |OUXSetti|ngs.auto|
|00002180| 63 6c 6f 73 65 6f 6e 71 | 75 69 74 3d 31 3b 0d 09 |closeonq|uit=1;..|
|00002190| 23 65 6e 64 69 66 0d 7d | 0d 00 00 00 00 00 00 00 |#endif.}|........|
|000021a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000021b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000021c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000021d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000021e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000021f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002200| 00 00 01 00 00 00 02 56 | 00 00 01 56 00 00 00 9e |.......V|...V....|
|00002210| 00 00 2c 72 00 00 00 ec | 05 00 00 00 2c 76 00 00 |..,r....|....,v..|
|00002220| 00 ed 05 00 00 00 2c 7a | 00 00 00 ee 05 00 00 00 |......,z|........|
|00002230| 0a 4e 6f 69 73 65 56 42 | 4c 2e 63 00 02 00 00 00 |.NoiseVB|L.c.....|
|00002240| 50 61 72 74 53 49 54 21 | 00 00 00 00 00 00 00 00 |PartSIT!|........|
|00002250| 00 00 50 61 72 74 53 49 | 54 21 00 00 00 00 00 00 |..PartSI|T!......|
|00002260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002270| 00 00 ab bf ee 2b 00 00 | 00 00 00 00 02 f4 00 00 |.....+..|........|
|00002280| 2c 9e 00 00 00 f7 05 00 | 00 00 2c a2 00 00 00 f8 |,.......|..,.....|
|00002290| 05 00 00 00 2c a6 00 00 | 00 f9 05 00 00 00 2c aa |....,...|......,.|
|000022a0| 00 00 00 fa 05 00 00 00 | 2c ae 00 00 00 fb 05 00 |........|,.......|
|000022b0| 00 00 2c b2 00 00 00 fc | 05 00 00 00 2c b6 00 00 |..,.....|....,...|
|000022c0| 00 fd 05 00 00 00 2c ba | 00 00 08 dd 05 00 00 00 |......,.|........|
|000022d0| 2d 03 00 00 09 25 05 00 | 00 00 2d 0f 00 00 09 3e |-....%..|..-....>|
|000022e0| 05 00 00 00 2d 18 00 00 | 09 3f 05 00 00 00 2d 1c |....-...|.?....-.|
|000022f0| 00 00 09 40 05 00 00 00 | 2d 20 00 00 09 41 05 00 |...@....|- ...A..|
|00002300| 00 00 00 14 00 00 19 11 | ff ff 00 00 00 00 00 00 |........|........|
|00002310| 1c e8 00 c4 00 00 00 00 | 00 00 00 2e 00 02 00 14 |........|........|
|00002320| 00 00 1e 27 00 d2 00 00 | 00 00 10 02 05 6d 79 41 |...'....|.....myA|
|00002330| 35 20 00 18 00 00 19 01 | 00 ac 00 00 00 00 00 00 |5 ......|........|
|00002340| 09 63 75 72 72 65 6e 74 | 41 35 00 00 00 32 00 00 |.current|A5...2..|
|00002350| 19 a6 00 af 00 00 00 00 | 00 00 18 09 00 a4 00 00 |........|........|
|00002360| 00 00 00 00 16 85 00 9d | 00 00 00 00 00 00 16 00 |........|........|
|00002370| 00 96 00 00 00 00 00 00 | 1d 3e 00 c7 00 00 00 00 |........|.>......|
|00002380| 00 00 00 36 00 02 00 14 | 00 00 19 df 00 b1 00 b1 |...6....|........|
|00002390| d6 74 00 00 05 65 72 72 | 6f 72 00 20 00 00 1a a1 |.t...err|or. ....|
|000023a0| 00 b7 00 b1 d6 64 00 00 | 11 6e 6f 69 73 65 56 42 |.....d..|.noiseVB|
|000023b0| 4c 2e 6e 65 77 46 72 61 | 6d 65 00 00 00 1e 00 29 |L.newFra|me.....)|
|000023c0| 00 07 01 6c 01 3b 00 29 | 00 07 01 6c 01 3b 00 00 |...l.;.)|...l.;..|
|000023d0| 12 2e 00 00 00 00 00 00 | 00 00 00 00 00 00 00 22 |........|......."|
|000023e0| 00 02 00 00 11 bc 00 00 | 11 c0 05 6d 61 69 6e 00 |........|...main.|
|000023f0| 00 00 12 22 00 00 12 2a | 09 4e 6f 69 73 65 56 42 |..."...*|.NoiseVB|
|00002400| 4c 00 00 00 00 48 00 09 | 4d 6f 6e 61 63 6f 00 00 |L....H..|Monaco..|
|00002410| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002420| 00 00 00 00 00 00 00 00 | 00 03 00 04 00 3d 00 03 |........|.....=..|
|00002430| 01 a0 02 7d 00 3d 00 03 | 01 a0 02 7d ab b0 ad a1 |...}.=..|...}....|
|00002440| 00 00 15 7b 00 00 15 7b | 00 00 13 48 00 00 00 00 |...{...{|...H....|
|00002450| 00 04 00 01 00 01 00 00 | 01 00 00 00 02 56 00 00 |........|.....V..|
|00002460| 01 56 00 00 00 9e 00 6a | d5 18 29 de 00 00 00 1c |.V.....j|..).....|
|00002470| 00 9e 00 03 42 4b 50 54 | 00 01 00 22 44 54 56 55 |....BKPT|..."DTVU|
|00002480| 00 01 00 3a 4d 50 53 52 | 00 02 00 52 4d 57 42 42 |...:MPSR|...RMWBB|
|00002490| 00 00 00 76 20 b1 ff ff | 00 00 00 00 00 00 00 00 |...v ...|........|
|000024a0| 2f d2 ff ff 00 00 00 4a | 00 00 00 00 65 df ff ff |/......J|....e...|
|000024b0| 00 00 00 18 00 00 00 00 | 32 1c ff ff 00 00 00 80 |........|2.......|
|000024c0| 00 00 00 00 03 f0 ff ff | 00 00 00 ba 00 00 00 00 |........|........|
|000024d0| 03 ef ff ff 00 00 00 dc | 00 00 00 00 03 ed ff ff |........|........|
|000024e0| 00 00 01 02 00 00 00 00 | 03 f0 ff ff 00 00 01 4e |........|.......N|
|000024f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+